<template>
  <header class="top-navbar">
    <div class="top-navbar-left">
      <div class="logo">
        <router-link to="/">Your Logo</router-link>
      </div>
      <NavMenu />
      <SearchInput />
    </div>
    <div class="top-navbar-right">
      <UserInfo />
    </div>
  </header>
</template>

<script setup lang="ts">
import NavMenu from './NavMenu.vue'
import SearchInput from './SearchInput.vue'
import UserInfo from './UserInfo.vue'
</script>

<style scoped>
.top-navbar {
  width: 100%;
  height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(255, 255, 255);
  border: solid 1px var(--el-menu-border-color);
  border-top: none;
  color: #000;
  padding: 10px 20px;
  & a {
    text-decoration: none;
  }
  .top-navbar-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    .logo {
      font-size: 24px;
      font-weight: bold;
      & a {
        color: #ec7359;
      }
    }
  }
}
</style>
